<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>le-pasta: CompleteQuery Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">le-pasta
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="../../annotated.html"><span>Classes</span></a></li>
      <li><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="../../classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="../../hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="../../functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('d6/d47/class_complete_query.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="../../d6/d76/class_complete_query-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">CompleteQuery Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="../../dc/d18/_complete_query_8h_source.html">CompleteQuery.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:abfa94e498c9fae36dcb0fb272be1159d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d47/class_complete_query.html#abfa94e498c9fae36dcb0fb272be1159d">CompleteQuery</a> ()</td></tr>
<tr class="separator:abfa94e498c9fae36dcb0fb272be1159d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb834bf62cdc20e8e4ffbc8399459829"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d47/class_complete_query.html#acb834bf62cdc20e8e4ffbc8399459829">~CompleteQuery</a> ()</td></tr>
<tr class="separator:acb834bf62cdc20e8e4ffbc8399459829"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf2f4089bda20a0145283bb904ea9674"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d47/class_complete_query.html#acf2f4089bda20a0145283bb904ea9674">addSuchThatQuery</a> (<a class="el" href="../../d1/d2d/class_query.html">Query</a> *query)</td></tr>
<tr class="separator:acf2f4089bda20a0145283bb904ea9674"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c349193d94978690eb4181abecc0e1b"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="../../d1/d2d/class_query.html">Query</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d47/class_complete_query.html#a8c349193d94978690eb4181abecc0e1b">getSuchThatQuery</a> ()</td></tr>
<tr class="separator:a8c349193d94978690eb4181abecc0e1b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6873dd38af91dad04d26e32c42cdda46"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d47/class_complete_query.html#a6873dd38af91dad04d26e32c42cdda46">addPatternQuery</a> (<a class="el" href="../../d1/d2d/class_query.html">Query</a> *query)</td></tr>
<tr class="separator:a6873dd38af91dad04d26e32c42cdda46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacd61ff85dc0a50320edcf894823da37"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="../../d1/d2d/class_query.html">Query</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d47/class_complete_query.html#aacd61ff85dc0a50320edcf894823da37">getPatternQuery</a> ()</td></tr>
<tr class="separator:aacd61ff85dc0a50320edcf894823da37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66f86081ebfb571af208824b308331c6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d47/class_complete_query.html#a66f86081ebfb571af208824b308331c6">addDeclarationParameters</a> (<a class="el" href="../../df/df2/class_synonym.html">Synonym</a> *syn)</td></tr>
<tr class="separator:a66f86081ebfb571af208824b308331c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a1fae7521fb622415c1a37dc2d1f1db"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="../../df/df2/class_synonym.html">Synonym</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d47/class_complete_query.html#a2a1fae7521fb622415c1a37dc2d1f1db">getDeclarationParameters</a> ()</td></tr>
<tr class="separator:a2a1fae7521fb622415c1a37dc2d1f1db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc962878a3448d5543f8fcd79f5eaa2c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d47/class_complete_query.html#abc962878a3448d5543f8fcd79f5eaa2c">setResult</a> (<a class="el" href="../../df/dc6/class_result.html">Result</a> *res)</td></tr>
<tr class="separator:abc962878a3448d5543f8fcd79f5eaa2c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafe8e511f118710ee96d31a7111b4bc3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="../../df/dc6/class_result.html">Result</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../d6/d47/class_complete_query.html#aafe8e511f118710ee96d31a7111b4bc3">getResult</a> ()</td></tr>
<tr class="separator:aafe8e511f118710ee96d31a7111b4bc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="abfa94e498c9fae36dcb0fb272be1159d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CompleteQuery::CompleteQuery </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor Initialise all <a class="el" href="../../d6/d47/class_complete_query.html">CompleteQuery</a> data structures etc. </p>

</div>
</div>
<a class="anchor" id="acb834bf62cdc20e8e4ffbc8399459829"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CompleteQuery::~CompleteQuery </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a66f86081ebfb571af208824b308331c6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CompleteQuery::addDeclarationParameters </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../df/df2/class_synonym.html">Synonym</a> *&#160;</td>
          <td class="paramname"><em>syn</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Adds a synonym to masterSynonymList. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">syn</td><td>object of class <a class="el" href="../../df/df2/class_synonym.html">Synonym</a> to be added. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6873dd38af91dad04d26e32c42cdda46"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CompleteQuery::addPatternQuery </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d1/d2d/class_query.html">Query</a> *&#160;</td>
          <td class="paramname"><em>query</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Adds a condition of pattern type query to the list </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">query</td><td>object of class <a class="el" href="../../d1/d2d/class_query.html">Query</a> to be added. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acf2f4089bda20a0145283bb904ea9674"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CompleteQuery::addSuchThatQuery </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../d1/d2d/class_query.html">Query</a> *&#160;</td>
          <td class="paramname"><em>query</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Adds a condition of such that type query to the list </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">query</td><td>object of class <a class="el" href="../../d1/d2d/class_query.html">Query</a> to be added. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2a1fae7521fb622415c1a37dc2d1f1db"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; <a class="el" href="../../df/df2/class_synonym.html">Synonym</a> * &gt; CompleteQuery::getDeclarationParameters </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aacd61ff85dc0a50320edcf894823da37"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; <a class="el" href="../../d1/d2d/class_query.html">Query</a> * &gt; CompleteQuery::getPatternQuery </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get all pattern queries </p>
<dl class="section return"><dt>Returns</dt><dd>a vector of pattern queries </dd></dl>

</div>
</div>
<a class="anchor" id="aafe8e511f118710ee96d31a7111b4bc3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../df/dc6/class_result.html">Result</a> * CompleteQuery::getResult </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get the result parameter </p>
<dl class="section return"><dt>Returns</dt><dd>result parameter </dd></dl>

</div>
</div>
<a class="anchor" id="a8c349193d94978690eb4181abecc0e1b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; <a class="el" href="../../d1/d2d/class_query.html">Query</a> * &gt; CompleteQuery::getSuchThatQuery </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Get all such that queries </p>
<dl class="section return"><dt>Returns</dt><dd>a vector of such that queries </dd></dl>

</div>
</div>
<a class="anchor" id="abc962878a3448d5543f8fcd79f5eaa2c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CompleteQuery::setResult </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="../../df/dc6/class_result.html">Result</a> *&#160;</td>
          <td class="paramname"><em>res</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p><a class="el" href="../../dd/d70/class_assign.html">Assign</a> the value in the parameter to result </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">res</td><td>object of class <a class="el" href="../../df/dc6/class_result.html">Result</a> to be set. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>E:/le-pasta/source/<a class="el" href="../../dc/d18/_complete_query_8h_source.html">CompleteQuery.h</a></li>
<li>E:/le-pasta/source/<a class="el" href="../../db/d79/_complete_query_8cpp.html">CompleteQuery.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../d6/d47/class_complete_query.html">CompleteQuery</a></li>
    <li class="footer">Generated on Thu Apr 18 2013 03:04:54 for le-pasta by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.3.1 </li>
  </ul>
</div>
</body>
</html>
